package com.zwface.demo.greendao.manager;

import android.os.Environment;

import java.io.File;

public class DatabasePath {

    private final static  String BASE_PATH = Environment.getExternalStorageDirectory().getPath();
    public final static String DB_PATH = BASE_PATH + "/GreenDaoMult/DBB/";
    public final static String DB_NAME = "zwFaceSign";

    public static void initDatabasePath(String userId) {
        DatabasePathController.setDatabasePath(DB_PATH+userId+".db", DB_NAME);
    }

    public static File getDatabasePath(String name) {
        return DatabasePathController.getDatabasePath(name);
    }
}
